<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>AdminDemo</title>
  <base href="/">

  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<script>
  // 线上服务器
  // window.ROOT_URL = 'http://www.jiangyh.cn/test/public/index.php/api/'
  // window.IMAGE_URL = 'http://jiangyh.com/tp5/public/index.php/api/'
  // 本地测试
  window.ROOT_URL = 'http://jiangyh.com/git/td-admin-server/public/index.php/api/'
  window.IMAGE_URL = 'http://jiangyh.com/tp5/public/index.php/api/'
  const permissions = [
    { id: 1, title: "轮播图管理", controller: 'banner' },
    { id: 2, title: "文章管理", controller: 'article' }
  ]
  localStorage.permissions = JSON.stringify(permissions)
  localStorage.token = '1'
  localStorage.tokenTime = String(new Date().getTime()).substr(0, 10)
</script>
<body>
  <app-root></app-root>
</body>
</html>
